import { Module } from '@nestjs/common'
import { PluginManagerService } from './services/plugin-manager.service'
import { PluginController } from './controllers/plugin.controller'
import { PluginMarketService } from './services/plugin-market.service'
import { EventEmitterModule } from '@nestjs/event-emitter'

@Module({
  imports: [EventEmitterModule.forRoot()],
  providers: [PluginManagerService, PluginMarketService],
  controllers: [PluginController],
  exports: [PluginManagerService, PluginMarketService],
})
export class PluginModule {}
